Page({
  data: {
    isLogin: false,
    // 登录状态
    userInfo: {},
    textConfig: {
      noLoginText: "未登录",
      loginText: "点击授权登录",
      orderTitle: "我的订单",
      orderMore: "查看更多",
      saleTitle: "关于售前售后服务",
      saleItems: [
        { 
          index:1,
          iconName: "service-o", 
          text: "可与小程序客服实时聊天或电话咨询" },
        { 
          index:2,
          iconName: "clock-o", 
          text: "小程序客服工作时间为: 8:30 ~ 20:30" },
        { 
          index:3,
          iconName: "location-o", text: "鲜花制作完毕情况下暂不支持退款" },
        {
          index:4,
          iconName: "calendar-o",
          text: "鲜花可以提前7-15天预订重大节假日不支持定时配送",
        },
      ]
    },
    orderItems:[
      {
        index:1,
        iconName: "orders-o",
        title:'商品订单'

      },{
        index:2,
        iconName: "gift-card-o",
        title:'礼品卡订单'
      },{
        index:3,
        iconName: "refund-o",
        title:'退款售后'
      }
    ]
  },

  // 页面加载时执行（仅一次）
  onLoad() {
    // 初始化时检查登录状态
  },

  // 页面每次显示时执行
  onShow() {
    // 从其他页面返回时刷新登录状态
  },
});
